package com.zlm.service.impl;

import com.zlm.entity.Menu;
import com.zlm.mapper.MenuMapper;
import com.zlm.mapper.UserMapper;
import com.zlm.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {

    @Resource
    private UserMapper userMapper;

    @Resource
    private MenuMapper menuMapper;

    public List<Menu> getAllMenu() {
        return menuMapper.getAllMenu();
    }
}